﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OpenQuarters.WebQuarters.Core
{
    public partial class UserRole : CMSEntity<UserRole, long>
    {
        public override System.Linq.Expressions.Expression<Func<UserRole, bool>> GetIDSelector(long ID)
        {
            return e => e.UserRoleId == ID;
        }

        public override long GetKey(UserRole Entity)
        {
            return Entity.UserRoleId;
        }
    }
}
